#ifndef _TOOLKIT_H_
#define _TOOLKIT_H_

#include "structure.h"
#include "./DEV/table_fichiers.h"


int get_file_by_key(char *);
void write_buffer(char * , TableFichiers , int );
void read_write_buff(int *);
char * select_command(char *);
void receive_msg(char **);
void print(char *);
void look_func(char *);
void getfile_func(char *);
void send_msg(args *);
void send_msg_bis(args * arglist);
int get_client_query(void);

int open_connect(char * ip, int port);


#endif
